package cn.eonshine.cuba.lsms.modular.biz.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

/**
 * <p>
 * S_REAL_OILDEPOT_STOCK 油库实测库存
 * </p>
 *
 * @author Alan
 * @since 2018-08-03
 */
@TableName("s_real_oildepot_stock")
public class SRealOildepotStock extends Model<SRealOildepotStock> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId("ID")
    private String id;
    /**
     * Oil depot油库
     */
    @TableField("OIL_DEPOT")
    private String oilDepot;
    /**
     * tank油罐
     */
    @TableField("OILCAN_ID")
    private String oilcanId;
    /**
     * oil油品
     */
    @TableField("OIL_ID")
    private String oilId;
    /**
     * quantity数量
     */
    @TableField("QUANTITY")
    private BigDecimal quantity;
    /**
     * Data time数据时间
     */
    @TableField("DATA_DATE")
    private Date dataDate;
    /**
     * Create time
                         创建时间
     */
    @TableField("CREATE_DATE")
    private Date createDate;
    /**
     * Update time
                         更新时间
     */
    @TableField("UPDATE_DATE")
    private Date updateDate;
    /**
     * Remarks information
                         备注信息
     */
    @TableField("REMARKS")
    private String remarks;
    /**
     * Delete the tag field
                         删除标记
     */
    @TableField("DEL_FLAG")
    private String delFlag;
    /**
     * Empty Tank Value（m3）
             空容值
     */
    @TableField("EMPTY_TANK_QUANTITY")
    private BigDecimal emptyTankQuantity;
    /**
     * Third party value（m3）
             第三方罐容值
     */
    @TableField("THIRD_PARTY_QUANTITY")
    private BigDecimal thirdPartyQuantity;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOilDepot() {
        return oilDepot;
    }

    public void setOilDepot(String oilDepot) {
        this.oilDepot = oilDepot;
    }

    public String getOilcanId() {
        return oilcanId;
    }

    public void setOilcanId(String oilcanId) {
        this.oilcanId = oilcanId;
    }

    public String getOilId() {
        return oilId;
    }

    public void setOilId(String oilId) {
        this.oilId = oilId;
    }

    public BigDecimal getQuantity() {
        return quantity;
    }

    public void setQuantity(BigDecimal quantity) {
        this.quantity = quantity;
    }

    public Date getDataDate() {
        return dataDate;
    }

    public void setDataDate(Date dataDate) {
        this.dataDate = dataDate;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public BigDecimal getEmptyTankQuantity() {
        return emptyTankQuantity;
    }

    public void setEmptyTankQuantity(BigDecimal emptyTankQuantity) {
        this.emptyTankQuantity = emptyTankQuantity;
    }

    public BigDecimal getThirdPartyQuantity() {
        return thirdPartyQuantity;
    }

    public void setThirdPartyQuantity(BigDecimal thirdPartyQuantity) {
        this.thirdPartyQuantity = thirdPartyQuantity;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "SRealOildepotStock{" +
        ", id=" + id +
        ", oilDepot=" + oilDepot +
        ", oilcanId=" + oilcanId +
        ", oilId=" + oilId +
        ", quantity=" + quantity +
        ", dataDate=" + dataDate +
        ", createDate=" + createDate +
        ", updateDate=" + updateDate +
        ", remarks=" + remarks +
        ", delFlag=" + delFlag +
        ", emptyTankQuantity=" + emptyTankQuantity +
        ", thirdPartyQuantity=" + thirdPartyQuantity +
        "}";
    }
}
